<?php
namespace Api\Service;

use Mobile\Model\tmplModel;

class BaseService extends \Common\Service\BaseService
{
    public function __construct()
    {


    }

    //获取数据库中的模板消息id
    protected function _getTmpId(){
        $tmplModel = new tmplModel();
        $where = array(

        );
        $res = $tmplModel->getTmplList($where);
        $new = array();
        if(!empty($res)){
            foreach($res as $k=>$v){
                $new[$v['tmp_name']] = $v;
            }

        }
        return $new;
    }


}